/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.services;

import com.ez2find.model.RegisterUser;
import java.io.UnsupportedEncodingException;
import javax.ejb.Local;

/**
 *
 * @author Owner
 */
@Local
public interface EmailLocal {

    void sendAccountConfirmation(RegisterUser recipient) throws Exception;

    void sendRecoveryConfirmation(RegisterUser recipient) throws Exception;

    void addAnonymousEmail(String type, long code, String email) throws Exception;

    void deleteAnonymousEmail(String type, long code, String email) throws Exception;

    void sendMessage(String f, String t, String s, String m);

    Boolean sendPost(String f, String t, String s, String m) throws UnsupportedEncodingException;
    
}
